
export const dict ={
    // 协议类型常量
    PROTOCOLS: [{ label: "http", value: 'http' }, { label: "https", value: 'https' }],
    U_ALGORITHMS: [{ label: "round-robin", value: 'round-robin' }, { label: "consistent-hashing", value: 'consistent-hashing' }, { label: "least-connections", value: 'least-connections' }],
    HASH_ON: [
        { 
            label: "none",
             value: 'none' 
        },
        {
            label: "consumer",
            value: "consumer"
        }, 
        {
            label: "ip",
            value: "ip"
        }, 
        {
            label: "header",
            value: "header"
        },
        {
            label: "cookie",
            value: "cookie"
        },
    ],
    FALLBACK_TYPE:[
        { 
            label: "none",
             value: 'none' 
        },
        {
            label: "consumer",
            value: "consumer"
        }, 
        {
            label: "header",
            value: "header"
        },
        {
            label: "cookie",
            value: "cookie"
        },

    ],
    CONSUMER_CERDENTIALS:[
        { label: "JWT", value: "jwt" },
        { label: "OAUTH2", value: "oauth2" },
        { label: "API KEYS", value: "key-auth" },
        { label: "BASIC AUTH", value: "basic-auth" },
        { label: "HMAC AUTH", value: "hmac-auth" },
    ]
}
